<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no,mxaimum-scale=1.0,minimum-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<link rel="stylesheet" type="text/css" href="css/font-awesome.css" />
		<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css" />
		<link rel="stylesheet" type="text/css" href="css/normalize.css" />
		<title>携程移动端</title>
		<style type="text/css">
			* {
				box-sizing: border-box;
				padding: 0;
				margin: 0;
			}

			ul {
				list-style: none;
			}

			body {
				margin: 0 auto;
				max-width: 540px;
				background-color: #fafafa;
			}

			header {
				position: fixed;
				display: flex;
				width: 100%;
				max-width: 540px;
				height: 44px;

			}

			header div:nth-child(1) {
				flex: 1;
				margin: 8px 10px;
				border-radius: 22px;
				background-color: #FFFFFF;
			}

			header div:nth-child(1)::before {
				content: "";
				display: inline-block;
				width: 35px;
				height: 28px;
				background: url(img/xuebi0.png) no-repeat;
				background-size: 21px auto;
				background-position: 15px 6px;
				vertical-align: middle;
			}

			header div:nth-child(1) span {
				display: inline-block;
				font-size: 13px;
				color: #666666;
				line-height: 28px;
			}

			header div:nth-child(2) {
				width: 47px;
				height: 44px;
				background: url(img/xuebi0.png) no-repeat;
				background-size: 21px auto;
				background-position: 13px -32px;
				text-align: center;
			}

			header div:nth-child(2) p {
				margin-top: calc(50% + 2px);
				color: #FFFFFF;
				font-size: 12px;

			}

			.backimg {
				width: 100%;
			}

			.backimg img {
				width: 100%;
			}

			nav {
				border-radius: 8px;
				overflow: hidden;
				margin: -15px 12px 0 12px;
				position: relative;
				z-index: 1;
				background-color: #FFFFFF;
				/* border: 1px solid #CCCCCC; */
				box-shadow: 0 0 6px rgba(0, 0, 0, .08);
			}

			nav ul {
				display: flex;
			}

			nav ul li {
				flex: 1;
				font-size: 12px;
			}
			nav ul li a{
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				color: #000000;
				text-decoration: none;
			}
			nav ul li div {
				width: 40px;
				height: 40px;
				background: url(img/xuebi1.png) no-repeat;
				background-size: 40px auto;
			}

			nav ul li p {
				margin-bottom: 5px;
			}

			nav ul li:nth-child(2) div {
				background-position: 0 -40px;
			}

			nav ul li:nth-child(3) div {
				background-position: 0 -80px;
			}

			nav ul li:nth-child(4) div {
				background-position: 0 -120px;
			}

			nav ul li:nth-child(5) div {
				background-position: 0 -160px;
			}
			.navlist{
				margin: 10px 12px 0 12px;
				border-radius: 8px;
				overflow: hidden; 	
				display: flex;
				height: 197.56px;
				flex-direction: column;
			}
			.navlist p{
				flex: 1;
				display: flex;
			}
			
			.navlist p a{
				display: flex;
				text-decoration: none;
				color: #000000;
				font-size: 14px;
			}
			.navlist p:nth-child(n+1) a:nth-child(1){
				align-items: center;
			}
			.navlist p:nth-child(n+1) a:nth-child(1) span{
				margin-left: 20px;
			}
			.navlist p:nth-child(n+1) a:nth-child(n+2){
				justify-content: center;
				align-items: center;
			}
			.navlist p:nth-child(1) a:nth-child(1){
				flex: 31;
				background: url(img/1-1.png) no-repeat;
				background-size: 73px auto;
				background-position: right bottom;
			}
			.navlist p:nth-child(1) a:nth-child(2){
				flex: 23;
				background: url(img/1-2.png) no-repeat;
				background-size: 37px auto;
				background-position: left bottom;
			}
			.navlist p:nth-child(1) a:nth-child(3){
				flex: 46;
				background: url(img/1-3.png) no-repeat;
				background-size: 100% auto;
				background-position: right bottom; 
			}
			.navlist p:nth-child(n+2) a:nth-child(1){
				flex: 31;
			}
			.navlist p:nth-child(2) a:nth-child(1){
				background: url(img/2-1.png) no-repeat;
				background-size: auto 34px;
				background-position: right bottom; 
			}
			.navlist p:nth-child(2) a:nth-child(2){
				background: url(img/2-2.png) no-repeat;
				background-size: 37px auto;
				background-position: left bottom;
			}
			.navlist p:nth-child(n+2) a:nth-child(n+2){
				flex: 23;
			}
			.navlist p:nth-child(3) a:nth-child(1){
				background: url(img/3-1.png) no-repeat;
				background-size: auto 47px;
				background-position: right bottom;
			}
			.navlist p:nth-child(3) a:nth-child(2){
				background: url(img/3-2.png) no-repeat;
				background-size: 61px auto;
				background-position: left bottom;
			}
			.navlist p:nth-child(1){
				background:linear-gradient(to right,#fa5956,#fb8650 54%);
				
			}
			.navlist p:nth-child(2){
				background: linear-gradient(to right,#4b8fed,#53bced);
			}
			.navlist p:nth-child(3){
				background: linear-gradient(to right,#34c2aa,#6cd557);
			}
			
			.navlist p:nth-child(-n+2) a{
				border-bottom: 1px solid #FFFFFF;
			}
			.navlist p a:nth-child(-n+2){
				border-right: 1px solid #FFFFFF;
			}
			.navlist p:nth-child(n+2) a:nth-child(3){
				border-right: 1px solid #FFFFFF;
			}
			.subnav{
				margin: 1px 12px 0 12px;
			}
			.subnav ul{
				display: flex;
				flex-wrap: wrap;
			}
			.subnav ul li{
				width: 20%;
			}
			.subnav ul li a{
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				font-size: 12px;
				color: #000000;
				text-decoration: none;
			}
			.subnav ul li div{
				width: 28px;
				height: 28px;
				margin: 10px 0 6px 0;
				background: url(img/xuebi.png);
				background-size: 28px auto;
			}
			.subnav ul li span{
				margin-bottom: 5px;
			}
			.subnav ul li:nth-child(2) div{
				background-position: 0 -28px;
			}
			.subnav ul li:nth-child(3) div{
				background-position: 0 -56px;
			}
			.subnav ul li:nth-child(4) div{
				background-position: 0 -84px;
			}
			.subnav ul li:nth-child(5) div{
				background-position: 0 -112px;
			}
			.subnav ul li:nth-child(6) div{
				background-position: 0 -140px;
			}
			.subnav ul li:nth-child(7) div{
				background-position: 0 -168px;
			}
			.subnav ul li:nth-child(8) div{
				background-position: 0 -196px;
			}
			.subnav ul li:nth-child(9) div{
				background-position: 0 -224px;
			}
			.subnav ul li:nth-child(10) div{
				background-position: 0 -252px;
			}
			footer{
				display: flex;
				justify-content: space-around;
				background-color: #FFFFFF;
				margin-top: 5px;
				border-top: 1px solid #CCCCCC;
				border-bottom: 1px solid #CCCCCC;
			}
			footer a{
				flex: 1;
				display: flex;
				flex-direction: column;
				align-items: center;
				text-decoration: none;
				color: #000000;
				font-size: 12px;
			}
			footer a div{
				width: 20px;
				height: 20px;
				margin-top: 10px;
			}
			footer a span{
				margin-top: 5px;
				margin-bottom: 12px;
			}
			footer a:nth-child(1) div::before{
				content: "\f095";
				font-family: "FontAwesome";
				font-size: 20px;
			}
			footer a:nth-child(2) div::before{
				content: "\f019";
				font-family: "FontAwesome";
				font-size: 20px;
			}
			footer a:nth-child(3) div{
				background: url(img/xuebi0.png) no-repeat;
				background-size:21px auto ;
				background-position: 0 -78px;
				
			}
			.bottombar{
				margin-top: 10px;
				display: flex;
				flex-direction: column;
				align-items: center;
				color: #999;
			}
			.bottombar div{
				display: flex;
				flex-direction: row;
				justify-content: center;
				align-items: center;
			}
			.bottombar div a{
				text-decoration: none;
				color:#999;
				font-size: 12px;
			}
			.bottombar div span{
				width: 1px;
				height: 16px;
				background-color: #333333;
				margin: 0 12px;
			}
			.bottombar div a:nth-of-type(2){
				margin-right: 5px;
			}
			.bottombar div a:nth-of-type(2)::before{
				content: "";
				display: inline-block;
				width: 11px;
				height: 11px;
				vertical-align: middle;
				margin-right: 5px;
				background: url(img/xuebi4.png) no-repeat;
				background-size: 30px auto;
				background-position: 0 -160px;
			}
			.bottombar p{
				font-size: 12px;
				margin-top: 12px;
			}
		</style>
	</head>
	<body>
		<header>
			<div>
				<span>搜索:目的地/酒店/景点/航班号</span>
			</div>
			<div>
				<p>我的</p>
			</div>
		</header>
		<div class="backimg">
			<img src="img/back.jpg">
		</div>
		<nav>
			<ul>
				<li>
					<a href="">
						<div></div>
						<p>攻略·景点</p>
					</a>

				</li>
				<li>
					<a href="">
						<div></div>
						<p>门票·玩乐</p>
					</a>

				</li>
				<li>
					<a href="">
						<div></div>
						<p>美食林</p>
					</a>

				</li>
				<li>
					<a href="">
						<div></div>
						<p>周边游</p>
					</a>

				</li>
				<li><a href="">
						<div></div>
						<p>一日游</p>
					</a>

				</li>
			</ul>
		</nav>
		<div class="navlist">
			<p>
				<a href="">
					<span>酒店</span>
				</a>
				<a href="">
					<span>民宿 客栈</span>
				</a>
				<a href="">
					特价 爆款
				</a>
			</p>
			<p>
				<a href=""><span>机票</span></a>
				<a href=""><span>火车票</span></a>
				<a href=""><span>汽车 船票</span></a>
				<a href=""><span>专车 租车</span></a>
			</p>
			<p>
				<a href=""><span>旅游</span></a>
				<a href=""><span>高铁游</span></a>
				<a href=""><span>邮轮游</span></a>
				<a href=""><span>定制游</span></a>
			</p>
		</div>
		<div class="subnav">
			<ul>
				<li><a href=""><div></div><span>自由行</span></a></li>
				<li><a href=""><div></div><span>WIFI电话卡</span></a></li>
				<li><a href=""><div></div><span>保险 签证</span></a></li>
				<li><a href=""><div></div><span>换秒 购物</span></a></li>
				<li><a href=""><div></div><span>向导 包车</span></a></li>
				<li><a href=""><div></div><span>特价 机票</span></a></li>
				<li><a href=""><div></div><span>礼品卡</span></a></li>
				<li><a href=""><div></div><span>申卡 借钱</span></a></li>
				<li><a href=""><div></div><span>旅拍</span></a></li>
				<li><a href=""><div></div><span>更多</span></a></li>
			</ul>
		</div>
		<footer>
			<a href=""><div></div><span>电话预约</span></a>
			<a href=""><div></div><span>下载客户端</span></a>
			<a href=""><div></div><span>我的</span></a>
		</footer>
		<div class="bottombar">
			<div>
				<a href="">网站地图</a>
				<span></span>
				<a href="">Language</a>
				<span></span>
				<a href="">电脑版</a>
			</div>
			<p>©2020携程旅行｜沪ICP备08023580号</p>
		</div>
	</body>
</html>
	